package com.vending.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    int countTodayOrders();
    double sumTodayAmount();
    int countOrdersByDate(LocalDate date);
    List<Map<String, Object>> getProductSalesDistribution();
} 